package com.codeoss.framework.view.renderer;

import org.springframework.stereotype.Service;

import com.codeoss.framework.context.YunContext;
import com.codeoss.framework.view.component.Component;
import com.codeoss.framework.view.component.GroupTitle;

@Service("grouptitleRenderer")
public class GroupTitleRenderer extends CommonComponentRenderer {
	protected void startRenderView(YunContext yunContext, Component component, ViewSerializeMap viewSerializeMap) {
		super.startRenderView(yunContext, component, viewSerializeMap);
		GroupTitle groupTitle=(GroupTitle)component;
		viewSerializeMap.put("title", groupTitle.getTitle());
	}
}
